STEP 5: Let's decode the first letter of our secret message.

The ord() command finds the number associated with the symbol inside the parentheses.

  • In LOGIC, from , drag out Symbol into Number.
  • Change the letter argument inside ord() from "a" to 'K" (the first letter of our secret message).

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)